package com.fire.mapper;

import com.fire.model.entity.Monitor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 监测表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-04-04
 */
public interface MonitorMapper extends BaseMapper<Monitor> {

    @Select("SELECT location FROM f_monitor ORDER BY create_time LIMIT 1;")
    String queryLocationName();
}
